Remove redundant variable declaration
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Oct 2016 10:52:00 +0000 (11:52 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Oct 2016 10:52:00 +0000 (11:52 +0100)
The inner `var` declaration is shadowing the outer one.

gtk/gtkimmodule.c

index 289cec06a070bc151900594b8bbd637b5d358d8a..d69f9e8915c734d54731804037da1e204654116a 100644 (file)
@@ -374,7 +374,6 @@ gtk_get_im_module_file (void)
 
   if (!result)
     {
-      const gchar *var;
       gchar *path;
 
       var = g_getenv ("GTK_EXE_PREFIX");